package com.lefevre.cms.bean.payment;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 银行
 *
 * @author Lefevre
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bank implements Serializable {
    private static final long serialVersionUID = -5312617596334317129L;

    /**
     * 银行简码
     **/
    private String code;

    /**
     * 银行名称
     **/
    private String name;

    /**
     * 银行图标
     **/
    private String icon;

    /**
     * 选中 true:选中  false:未选中
     **/
    private boolean selected = false;

    public Bank(String code, String name, String icon) {
        this.code = code;
        this.name = name;
        this.icon = icon;
    }
}
